#ifndef __SE_SEARCH_ENGINE_SERVER_HPP__
#define __SE_SEARCH_ENGINE_SERVER_HPP__ 1

#include "ThreadPool.hpp"
#include "TcpServer.hpp"
#include "KeyRecommender.hpp"

namespace se {

class SearchEngineServer {
public:
    SearchEngineServer();

    /**
     * @brief 开始搜索引擎服务
     * 
     */
    void start();

    /**
     * @brief 停止搜索引擎服务
     * 
     */
    void stop();
    
private:
    ThreadPool _threadPool;
    TcpServer _tcpServer;
};

}  // namespace se

#endif
